package com.powernode.api.service;

import com.powernode.api.model.User;

public interface UserService {
    /*根据手机号码 查询用户*/
    User queryUserByPhone(String phone);

    /*注册*/
    User userRegister(String phone, String loginPassword);

    /*登录*/
    User userLogin(String phone, String loginPassword);

    User queryUserById(Integer uid);
}
